﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace App.Model
{
    /// <summary>
    /// 部门
    /// </summary>
    public class ProDepart
    {
        /// <summary>
        /// 编号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        [SugarColumn(ColumnDataType = "VARCHAR(64)")] 
        public string DepartName { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnDataType = "VARCHAR(512)")]
        public string Remarks { get; set; }

        /// <summary>
        /// 操作员
        /// </summary>
        public int AddUser { get; set; }

        /// <summary>
        /// 是否删除 0  1 删除
        /// </summary>
        public int IsDelete { get; set; }

        /// <summary>
        /// 是否禁用 0 启用 1 禁用
        /// </summary>
        public int Disable { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime { get; set; }

    }
}
